package com.chianghao.core.frame.dao;

import org.springframework.beans.factory.annotation.Autowired;

import com.chianghao.core.mybatis.mapper.BaseMapper;


public abstract class BaseDao<M extends BaseMapper<T>,T>  {

	@Autowired
	protected M mapper;

	public M getMapper() {
		return mapper;
	}

	public void setMapper(M mapper) {
		this.mapper = mapper;
	}
	
	
	
	
}
